home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / ViewKit_dev.idb / usr / share / src / ViewKit / Applications / GLX / VkGLX.h.z / VkGLX.h
Encoding:
C/C++ Source or Header  |  1996-09-20  |  2.2 KB  |  50 lines

  1. ////////////////////////////////////////////////////////////////////////////////
  2. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  3. //                                                                            //
  4. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  5. // the contents of this file may not be disclosed to third parties, copied    //
  6. // or duplicated in any form, in whole or in part, without the prior written  //
  7. // permission of Silicon Graphics, Inc.                                       //
  8. //                                                                            //
  9. // RESTRICTED RIGHTS LEGEND:                                                  //
  10. // Use,duplication or disclosure by the Government is subject to restrictions //
  11. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  12. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  13. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  14. // rights reserved under the Copyright Laws of the United States.             //
  15. //                                                                            //
  16. ////////////////////////////////////////////////////////////////////////////////
  17. //////////////////////////////////////////////////////////////////
  18. // VKGLX.c
  19. /////////////////////////////////////////////////////////////////
  20.  
  21. #ifndef VK_GLX_H
  22. #define VK_GLX_H
  23.  
  24. #include <Vk/VkComponent.h>
  25. #include <Sgm/GlxMDraw.h>
  26.  
  27. class VkGLX : public VkComponent {
  28.  
  29.   public:
  30.  
  31.      VkGLX(const char *name, Widget parent, GLXconfig glxConfig[] = NULL);
  32.      ~VkGLX();
  33.  
  34.      virtual const char *className();
  35.  
  36.   protected:
  37.     
  38.      virtual void ginit(GlxDrawCallbackStruct *cb);
  39.      virtual void expose(GlxDrawCallbackStruct *cb);
  40.      virtual void resize(GlxDrawCallbackStruct *cb);
  41.      virtual void input(GlxDrawCallbackStruct *cb);
  42.  
  43.     static void exposeCallback(Widget w, XtPointer clientData, XtPointer callData);
  44.     static void ginitCallback(Widget w, XtPointer clientData, XtPointer callData);
  45.     static void resizeCallback(Widget w, XtPointer clientData, XtPointer callData);
  46.     static void inputCallback(Widget w, XtPointer clientData, XtPointer callData);
  47. };
  48.  
  49. #endif
  50.